/*公共样式*/
body {
	background-color: #f5f5f5;
}


/*暗色主题样式*/

.dark-theme {
	background-color: #333;
	color: #f5f5f5;
}


/*亮色主题样式*/

.light-theme {
	background-color: #F5F5F5;
	color: #333;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

@font-face {
	font-family: 'icomoon';
	src: url('../fonts/icomoon.eot?7kkyc2');
	src: url('../fonts/icomoon.eot?7kkyc2#iefix') format('embedded-opentype'),
		url('../fonts/icomoon.ttf?7kkyc2') format('truetype'),
		url('../fonts/icomoon.woff?7kkyc2') format('woff'),
		url('../fonts/icomoon.svg?7kkyc2#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

.fr .icomoon {
	font-family: 'icomoon';
	font-size: 16px;
	line-height: 26px;
}

/*版心*/
.w {
	width: 1200px;
	margin: 0 auto;
}


/* 导航部分开始 */
.nav {
	background-color: #f4f4f4;
	height: 30px;
	border-bottom: 1px solid #ddd;
}

.nav li {
	float: left;
	line-height: 28px;
}

.nav li a {
	font-size: 12px;
	color: #999;
	text-align: center;
}

/* 导航左边部分开始 */


.nav .nav_left a {
	color: #BCA795;
}

/* 导航左边部分结束 */
/* 导航右边部分开始 */
.nav_right {
	float: right;
}

.nav_right li {
	margin: 0px 7px;
	line-height: 28px;
}


.nav_right span {
	color: #ddd;
}

.nav_right a:hover {
	text-decoration: underline;
	color: #000;
}

/* 导航右边部分结束 */

/* 设置公告栏的样式 */
.announcement{
	background-color: #9E1310;
}

.announcement-contain {
	padding:10px;
	height: 20px;
	margin:0px 20px;
	font-size: 16px;
	overflow: hidden;
	position: relative;
	white-space: nowrap;
}

.announcement-contain p {
	display: inline-block;
	padding: 0px 20px;
	animation: scroll 10s linear infinite;
	color: #fff;
	position: absolute;
    right: 0; /* 初始位置在父容器的最右边 */
}

@keyframes scroll {
	0% {
		right: 0;
	}
	100% {
		right: 100%;
	}
}
.announcement img {
	margin-right: 10px; /* 图片与文字之间的间距 */
    width: 20px; /* 图片的宽度 */
    height: auto; /* 图片的高度自动调整 */
}


/* 客服聊天框样式 */
.chatbox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chatbox-header {
    padding: 10px;
    background-color: #b32424;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbox-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chatbox-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.chatbox-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chatbox-input input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.chatbox-input button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #b32424;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.message {
    margin-bottom: 10px;
}

.message .sender {
    font-weight: bold;
}

.message.user {
    text-align: right;
}


/* 头部部分 */
.header {
	height: 115px;
	min-width: 990px;
}

/* 头部logo部分 */
.header_left {
	height: 115px;
	width: 404px;
	position: relative;
	display: inline;
}

.logo {
	width: 121px;
	font-size: 0;
	margin-top: 18px;
	display: inline;
}

.logo_text {
	display: block;
	margin-top: 35px;
}

.logo_text h1 {
	color: #B98E49;
	font-weight: 600;
}

/* 头部搜索部分 */
.header_right {
	margin-top: 37.5px;
}

.header_search {
	position: relative;
	width: 392px;
	height: 40px;
	font-size: 14px;
}

.header_right .srh_lab {
	position: relative;
	width: 316px;
	height: 40px;
	line-height: 38px;
	border: 1px solid #ddd;
	box-sizing: border-box;
	border-radius: 4px 0 0 4px;
	display: block;
	color: #999;
	cursor: text;
}

.header_right .srh_lab i {
	position: absolute;
	top: 11px;
	left: 7px;
	display: block;
	background-image: url(../image/图标1.png);
	background-position: -245px -346px;
	background-size: 475px;
	width: 16px;
	height: 16px;
}
.srh_txt {
	position: absolute;
	width: 198px;
	left: 30px;
	color: #ccc;
	z-index: 1;
	font-size: 12px;
}

.srh_news {
	width: 278px;
	height: 100%;
	padding-left: 30px;
	border: 0;
	display: block;
	color: #333;
	font-size: 14px;
	position: relative;
	z-index: 10;
	background: rgba(255, 255, 255, 0);
}
.srh_btn {
	width: 76px;
	height: 40px;
	cursor: pointer;
	font-size: 14px;
	color: #fff;
	border-radius: 0 4px 4px 0;
	border: 0;
	background-color: #b33636;
}

/* 登录注册底部部分开始 */
.dl_footer {
	padding: 50px 0;
	width: 640px;
	margin: 0 auto;
}

.dl_footer p {
	display: block;
	text-align: center;
	font-size: 12px;
	color: #999;
	line-height: 20px;
}

/* 登录注册底部部分结束 */

/* 底部部分开始 */
.footer {
	width: 100%;
	background: #333;
}

/* 底部上面部分开始 */
.footer_top {
	width: 100%;
	height: 70px;
	background: #fff;
	border-top: 1px solid #eee;
	cursor: pointer;
}

.footer .footer_top a {
	display: block;
	float: left;
	width: 240px;
	text-align: center;
	height: 70px;
	line-height: 70px;
	color: #666;
	font-size: 14px;
	cursor: pointer;
}

.footer_top span {
	vertical-align: middle;
	margin-right: 8px;
}

.footer .footer_top .footer_top_1 {
	display: inline-block;
	background-image: url(../image/图标2.png);
	background-position: -409px -357px;
	background-size: 589px;
	width: 38px;
	height: 38px;
}

.footer .footer_top .footer_top_2 {
	display: inline-block;
	background-image: url(../image/图标2.png);
	background-position: 0px -414px;
	background-size: 589px;
	width: 38px;
	height: 38px;
}

.footer .footer_top .footer_top_3 {
	display: inline-block;
	background-image: url(../image/图标2.png);
	background-position: -361px -357px;
	background-size: 589px;
	width: 38px;
	height: 38px;
}

.footer .footer_top .footer_top_4 {
	display: inline-block;
	background-image: url(../image/图标2.png);
	background-position: -313px -357px;
	background-size: 589px;
	width: 38px;
	height: 38px;
}

.footer .footer_top .footer_top_5 {
	display: inline-block;
	background-image: url(../image/图标2.png);
	background-position: -265px -357px;
	background-size: 589px;
	width: 38px;
	height: 38px;
}

/* 底部上面部分结束 */
.footer_center {
	padding: 44px 0 80px;
	height: 150px;
}

/* 底部中间部分开始 */
.footer_center_l {
	float: left;
}

.footer_center .footer_center_l h5 {
	color: #b98e49;
	margin-bottom: 12px;
}

.footer_center .footer_center_l h2 {
	color: #b98e49;
	font-weight: 400;
}

.footer_center .footer_center_l span {
	color: #999;
	font-size: 12px;
	margin: 0 5px 0 0;
}

.footer_center .footer_center_l a {
	display: block;
	font-size: 14px;
	width: 132px;
	height: 36px;
	line-height: 36px;
	color: #999;
	font-weight: 700;
	text-align: center;
	border: 1px solid #999;
	border-radius: 100px;
	margin-top: 16px;
}

.footer_center .footer_center_l a:hover {
	color: #fff;
	border: 1px solid #b98e49;
	background-color: #b98e49;
}

/* 底部中间左边部分开始 */
.footer .footer_center .footer_center_r {
	width: 600px;
	float: left;
	margin-left: 200px;
}

.footer_center_r dl {
	width: 80px;
	float: left;
	margin-right: 70px;
}

.footer_center_r dl dt {
	font-size: 14px;
	color: #ccc;
	font-weight: 700;
	margin-bottom: 13px;
}

.footer_center_r dd a {
	display: block;
	line-height: 28px;
	color: #999;
	overflow: hidden;
	font-size: 12px;
}

.footer_center_r dd a:hover {
	color: #fff;
}

/* 底部中间左边部分结束 */
/* 底部中间部分结束 */
/* 底部下间部分开始 */
.footer_bottom {
	width: 100%;
	text-align: center;
	padding-bottom: 10px;
}

.footer_bottom_t a {
	font-size: 14px;
	color: #999;
	margin: 0 10px;
	line-height: 20px;
}

.footer_bottom_t span {
	font-size: 14px;
	cursor: pointer;
	color: #999;
	display: inline-block;
	margin-top: 3px;
}

.footer_bottom_t .footer_list {
	font-size: 14px;
	margin-bottom: 10px;
	display: none;
}

.footer_bottom_b {
	margin-top: 43px;
	margin-bottom: 40px;
	color: #999;
}

.footer_bottom_b p {
	font-size: 14px;
	margin-bottom: 10px;
}

/* 底部部分结束 */


/* 优化后的暗色主题样式 */
/* 优化后的暗色主题样式 */
dark-theme { 
    background-color: #1a1a1a; /* 深背景色，提升沉浸感 */
    color: #e0e0e0; /* 更柔和的文字颜色，减少视觉疲劳 */
    transition: background-color 0.3s ease, color 0.3s ease; /* 添加过渡动画 */
}

.dark-theme .header_nav_right a {
    color: white;
}

/* 优化后的亮色主题样式 */
.light-theme {
    background-color: #f5f5ff; /* 纯净的白色背景 */
    color: #333333; /* 深灰色文字，提升可读性 */
    transition: background-color 0.3s ease, color 0.3s ease; /* 添加过渡动画 */
}
